export interface DepartmentItem {
  id: number
  name: string
  status: boolean
  remark: string | null
  parentDeptId: number | null
  createdAt: string
  updatedAt: string
  children?: DepartmentItem[]
}

export interface DepartmentListResponse {
  list: DepartmentItem[]
}

export interface DepartmentPageParams {
  name?: string
  pageSize: number
  pageNum: number
}

export interface DepartmentSaveData {
  id?: number
  name: string
  status: boolean
  remark: string | null
  createdAt: string
  updatedAt: string
  children?: DepartmentItem[]
}
